'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
    const {router, controller} = app;
    router.get('/api/getData', controller.api.test.getData);
    router.get('/api/setRedis', controller.api.test.setRedis);
    router.get('/api/getRedis', controller.api.test.getRedis);
    router.get('/api/setSess', controller.api.test.setSession);
    router.get('/api/getSess', controller.api.test.getSession);
};
